export default {
  server: {
    host: '0.0.0.0', // default: localhost
    port: 3001 // default: 3000
  },
  srcDir: "src/",
  // Global page headers: https://go.nuxtjs.dev/config-head
  head: {
    title: '比目镜-科技产业政策推送查询平台-企业项目申报立项查询网-高新技术企业认定网',
    htmlAttrs: {
      lang: 'en'
    },
    meta: [{
        charset: 'utf-8'
      },
      {
        name: 'viewport',
        content: 'width=device-width, initial-scale=1'
      },
      {
        hid: 'keywords',
        name: 'keywords',
        content: ''
      },
      {
        hid: 'description',
        name: 'description',
        content: ''
      },
      // {
      //   name: "keywords",
      //   content: '"比目镜，政策查询，政策智能推送，最新政策，政策解读，政策匹配，政府黄页，企业名单，企业查询，企业项目立项查询，高新技术企业名单查询，高企名单，专利查询，商标查询，专利交易信息发布，高新技术企业认定，科技项目申报'
      // },
      // {
      //   name: "description",
      //   content: "比目镜(51bmj.net)，科技产业政策项目数据平台，提供行业扶持资助补贴政策查询、政府部门最新政策实时智能推送、高新技术企业公示名单查询、高新技术企业项目立项查询、高新技术企业荣誉资质查询、高新技术企业商标专利查询、高新技术企业名单统计、科技项目申报查询、政策项目智能匹配、园区孵化器企业查询、政策扶持项目申报服务"
      // },
      // {
      //   name: "baidu-site-verification",
      //   content: "code-NTdLV79Aer"
      // }
    ],
    script: [{
        src: '/js/isMobile.js',
        body: true
      },
      {
        src: '/js/echarts.min.js',
        body: true
      },
      {
        src: '/js/jquery-3.1.1.js',
        body: true
      },
      {
        src: 'https://api.map.baidu.com/api?v=2.0&ak=ZU3TAGKAW8F9nBgYi44WWBlhah8GF6wY',
        body: true
      },
      {
        src: 'https://unpkg.com/vue-happy-scroll/docs/happy-scroll.min.js',
        body: true
      },
      {
        src: 'https://webapi.amap.com/maps?v=2.0&key=489c9f95e28d4f9656f34a5ff392f2c3&plugin=AMap.MarkerClusterer',
        body: true
      },
      {
        src: 'https://webapi.amap.com/maps?v=2.0&key=489c9f95e28d4f9656f34a5ff392f2c3&plugin=AMap.Geocoder',
        body: true
      },
      {
        src: '/js/china.js',
        body: true
      },
      {
        src: '/js/广东.js',
        body: true
      },
      {
        src: '/js/安徽.js',
        body: true
      },
      {
        src: '/js/澳门.js',
        body: true
      },
      {
        src: '/js/北京.js',
        body: true
      },
      {
        src: '/js/重庆.js',
        body: true
      },
      {
        src: '/js/福建.js',
        body: true
      },
      {
        src: '/js/甘肃.js',
        body: true
      },
      {
        src: '/js/广西.js',
        body: true
      },
      {
        src: '/js/贵州.js',
        body: true
      },
      {
        src: '/js/海南.js',
        body: true
      },
      {
        src: '/js/河北.js',
        body: true
      },
      {
        src: '/js/河南.js',
        body: true
      },
      {
        src: '/js/黑龙江.js',
        body: true
      },
      {
        src: '/js/湖北.js',
        body: true
      },
      {
        src: '/js/湖南.js',
        body: true
      },
      {
        src: '/js/吉林.js',
        body: true
      },
      {
        src: '/js/江苏.js',
        body: true
      },
      {
        src: '/js/江西.js',
        body: true
      },
      {
        src: '/js/辽宁.js',
        body: true
      },
      {
        src: '/js/内蒙古.js',
        body: true
      },
      {
        src: '/js/宁夏.js',
        body: true
      },
      {
        src: '/js/青海.js',
        body: true
      },
      {
        src: '/js/山东.js',
        body: true
      },
      {
        src: '/js/山西.js',
        body: true
      },
      {
        src: '/js/陕西.js',
        body: true
      },
      {
        src: '/js/上海.js',
        body: true
      },
      {
        src: '/js/四川.js',
        body: true
      },
      {
        src: '/js/台湾.js',
        body: true
      },
      {
        src: '/js/天津.js',
        body: true
      },
      {
        src: '/js/西藏.js',
        body: true
      },
      {
        src: '/js/香港.js',
        body: true
      },
      {
        src: '/js/新疆.js',
        body: true
      },
      {
        src: '/js/云南.js',
        body: true
      },
      {
        src: '/js/浙江.js',
        body: true
      }
    ],
  },

  // Global CSS: https://go.nuxtjs.dev/config-css
  css: [
    'element-ui/lib/theme-chalk/index.css',
    'index.css'
  ],

  // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
  plugins: [
    '@/plugins/element-ui',
    {
      src: '@/plugins/route',
      ssr: false
    },
  ],

  // Auto import components: https://go.nuxtjs.dev/config-components
  components: true,

  // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
  buildModules: [],

  // Modules: https://go.nuxtjs.dev/config-modules
  modules: [
    '@nuxtjs/router'
  ],

  // Build Configuration: https://go.nuxtjs.dev/config-build
  build: {
    transpile: [/^element-ui/],
    publicPath: 'https://dm-bmj.oss-cn-guangzhou.aliyuncs.com/static/pc/',
    postcss: {
      plugins: {
        autoprefixer: {}
      }
    },
  }
}
